<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/1/25
  Time: 16:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>注册</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>

<div style="margin-top: 120px; width:40%; margin-left: auto;margin-right: auto">
    <form class="form-horizontal" method="get" action="${pageContext.request.contextPath}/userServlet">
        <input type="text"  name="method" value="add" hidden="hidden">
        <div class="form-group">
            <label for="Name" class="col-sm-2 control-label">用户名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="userName" id="Name" required placeholder="用户名" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name11" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="userPwd" id="Name11" required placeholder="密码" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name21" class="col-sm-2 control-label">手机号</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="userPhone" required id="Name21" placeholder="手机号" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label for="Name25" class="col-sm-2 control-label">邮件</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="userEmail" required id="Name25" placeholder="邮件" style="float: left;width: 60%">
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">会员</label>
            <div class="col-sm-10">
                <label class="radio-inline">
                    <input type="radio" name="isVip" id="inlineRadio1" value="1"> 是
                </label>
                <label class="radio-inline">
                    <input type="radio" name="isVip" id="inlineRadio2" value="0"> 否
                </label>
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-info">注册</button>
                <a href="javascript:history.go(-1);" class="FunctionButton"><button type="button" class="btn btn-default">返回</button></a>
            </div>
        </div>
    </form>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
</body>
</html>